package com.ruoyi.rsikManage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风险预警处置信息对象 t_risk_warning_disposal
 * 
 * @author wu
 * @date 2023-08-29
 */
public class TRiskWarningDisposal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String unitcode;

    /** 风险点 */
    @Excel(name = "风险点")
    private String riskpoint;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentcode;

    /** 数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datatime;

    /** 处置人 */
    @Excel(name = "处置人")
    private String disposalperson;

    /** 处置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disposaltime;

    /** 处置措施 */
    @Excel(name = "处置措施")
    private String disposalmeasure;

    /** 处置状态 */
    @Excel(name = "处置状态")
    private String disposalstatus;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deldate;

    /** 删除人 */
    @Excel(name = "删除人")
    private String delby;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer delflag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitcode(String unitcode) 
    {
        this.unitcode = unitcode;
    }

    public String getUnitcode() 
    {
        return unitcode;
    }
    public void setRiskpoint(String riskpoint) 
    {
        this.riskpoint = riskpoint;
    }

    public String getRiskpoint() 
    {
        return riskpoint;
    }
    public void setEquipmentcode(String equipmentcode) 
    {
        this.equipmentcode = equipmentcode;
    }

    public String getEquipmentcode() 
    {
        return equipmentcode;
    }
    public void setDatatime(Date datatime) 
    {
        this.datatime = datatime;
    }

    public Date getDatatime() 
    {
        return datatime;
    }
    public void setDisposalperson(String disposalperson) 
    {
        this.disposalperson = disposalperson;
    }

    public String getDisposalperson() 
    {
        return disposalperson;
    }
    public void setDisposaltime(Date disposaltime) 
    {
        this.disposaltime = disposaltime;
    }

    public Date getDisposaltime() 
    {
        return disposaltime;
    }
    public void setDisposalmeasure(String disposalmeasure) 
    {
        this.disposalmeasure = disposalmeasure;
    }

    public String getDisposalmeasure() 
    {
        return disposalmeasure;
    }
    public void setDisposalstatus(String disposalstatus) 
    {
        this.disposalstatus = disposalstatus;
    }

    public String getDisposalstatus() 
    {
        return disposalstatus;
    }
    public void setUpdatedate(Date updatedate) 
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() 
    {
        return updatedate;
    }
    public void setDeldate(Date deldate) 
    {
        this.deldate = deldate;
    }

    public Date getDeldate() 
    {
        return deldate;
    }
    public void setDelby(String delby) 
    {
        this.delby = delby;
    }

    public String getDelby() 
    {
        return delby;
    }
    public void setDelflag(Integer delflag) 
    {
        this.delflag = delflag;
    }

    public Integer getDelflag() 
    {
        return delflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitcode", getUnitcode())
            .append("riskpoint", getRiskpoint())
            .append("equipmentcode", getEquipmentcode())
            .append("datatime", getDatatime())
            .append("disposalperson", getDisposalperson())
            .append("disposaltime", getDisposaltime())
            .append("disposalmeasure", getDisposalmeasure())
            .append("disposalstatus", getDisposalstatus())
            .append("createby", getCreateBy())
            .append("updatedate", getUpdatedate())
            .append("updateby", getUpdateBy())
            .append("deldate", getDeldate())
            .append("delby", getDelby())
            .append("delflag", getDelflag())
            .toString();
    }
}
